<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>test</title>
        <script type="text/javascript" src="http://www.google.com/jsapi"></script>
        <script type="text/javascript" src="js/common/util.js"></script>
        <script type="text/javascript">
            google.load("maps","2");
            var map;
            var description;
            var geocoder;
            function init() {
                map = new google.maps.Map2(document.getElementById("content"));
                geocoder = new google.maps.ClientGeocoder();
                var address = "Piazza De Gasperi, 7, Cassina de' Pecchi, Milano";
                geocoder.getLatLng(address,
                        function(point) {
                            map.setCenter(point,15);
                            var marker = new google.maps.Marker(point);
                            map.addOverlay(marker);

                            marker.openInfoWindowHtml("<b>Casa</b> mia");
                        });
            }
            function loadDirections(s) {
                if(dir) dir.load(s);
            }
            google.setOnLoadCallback(init);
        </script>
    </head>
    <body>
        <table cellpadding="0" cellspacing="5" border="0">
            <tr>
                <td><div id="content" style="width:400px;height:300px;" /></td>
            </tr>
        </table>
        
        
    </body>
</html>
